/**
 * 定义context
 */
import { createContext } from "react";

export const MyContext = createContext<string>("");

export interface AuthContextProps {
  currentUser: string;
  login: () => void;
}

export const AuthContext = createContext<AuthContextProps | null>(null);
